/*
 * facerec.hpp
 *
 *  Created on: Sep 15, 2012
 *      Author: heinstein
 */

#ifndef FACEREC_HPP_
#define FACEREC_HPP_

#include "opencv2/core/core.hpp"
#include "opencv2/contrib/contrib.hpp"
#include "opencv2/highgui/highgui.hpp"

#include <iostream>
#include <fstream>
#include <sstream>

#include <dirent.h>
#include <errno.h>
#include <vector>
#include <string.h>

using namespace cv;
using namespace std;

void init_facerec(Ptr<FaceRecognizer> model);
static void load_pgm(vector<Mat>& images, vector<int>& labels);




#endif /* FACEREC_HPP_ */
